<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<link href="__PUBLIC__/Assets/css/esui.css" rel="stylesheet" type="text/css" />
<link href="__PUBLIC__/Assets/css/union.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="__PUBLIC__/Assets/js/jquery.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/Assets/js/jquery.form.js"></script>
</head>
<body>
<div class="layout-main">    
    <div class="box clear-fix">
		<form method="post" action="{:U('Item/commentsImport')}" id="ajaxform" enctype="multipart/form-data">
			<table class="info-table">
				<tbody>
					
					<tr>
						<th>{:lang('import_excel_colon')}</th>
						<td class="extends">
							<input type="file" name="excel">
						</td>
					</tr>
					<tr>
						<th>&nbsp;</th>
						<td class="extends">
							<input type="hidden" name="item_id" value="{$_GET['item_id']}">
							<input type="submit" class="btn btn-ok" value="{:lang('submit')}">
						</td>
					</tr>
					<tr>
						<th>说明信息：</th>
						<td>
							导入Excel表格的第一行为标题共5列，分别为：<br><b style="color:#f00">姓名、地区、评论、回复评论、时间</b>

						</td>
					</tr>
				</tbody>
			</table>
			</form>
    </div><!--.box-->
<script type="text/javascript" src="__PUBLIC__/Assets/js/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript">
$(function(){
    $('#ajaxform').ajaxForm({
        success:function(data){ 
			color = data.data;
			parent.$.alert('操作成功',1,false);
		},
        dataType: 'json'
    });
});

</script>   
<link href="__PUBLIC__/Assets/js/umeditor/themes/default/css/umeditor.min.css" type="text/css" rel="stylesheet">
<script type="text/javascript" charset="utf-8" src="__PUBLIC__/Assets/js/umeditor/umeditor.config.js"></script>
<script type="text/javascript" charset="utf-8" src="__PUBLIC__/Assets/js/umeditor/umeditor.min.js"></script>
<script type="text/javascript">  
UM.getEditor('content',{autoHeightEnabled:true,initialFrameWidth:750,initialFrameHeight:80});
UM.getEditor('reply_content',{autoHeightEnabled:true,initialFrameWidth:750,initialFrameHeight:80});
</script>  
</body>
</html>